cmake_minimum_required(VERSION 3.12)


project(TestOpengl CXX)
# execute_process(COMMAND pwsh ${PROJECT_SOURCE_DIR}/update.ps1 ${PROJECT_SOURCE_DIR})

set(CMAKE_CXX_STANDARD 17)

set(PROJECT_SOURCE_DIR 
    ${CMAKE_SOURCE_DIR}
)

set(PROJECT_BINARY_DIR 
    ${CMAKE_BINARY_DIR}
)

include(${PROJECT_SOURCE_DIR}/conaninfo/conanbuildinfo.cmake)
conan_basic_setup()

add_compile_definitions(GLFW_INCLUDE_NONE IMGUI_IMPL_OPENGL_LOADER_GLAD)
add_link_options("LINKER:/NODEFAULTLIB:msvcrt.lib")

add_subdirectory(src)

